package ch04;
/**
 * Created by XiaYihua on 2017/1/25.
 */
public class FlyingFish extends Fish implements Flyer{
    public FlyingFish(String name){
        super(name);
    }


    @Override
    public void swim(){
        System.out.println("飞鱼游泳");
    }



    @Override
    public void fly(){
        System.out.println("飞鱼会飞");
    }
}
